xen: credit2: always mark a tickled pCPU as... tickled!
authorDario Faggioli <dario.faggioli@citrix.com>
Tue, 14 Mar 2017 11:41:54 +0000 (12:41 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 14 Mar 2017 11:41:54 +0000 (12:41 +0100)
commit354c3e4c728b5e8f04dc8d9eabfa316e7823cbc5
tree0f641829e493cd3122fbe3c74ef6a1dfdfb7e0a4
parent8c2da8f4649bf5e29b6f3338132e36369e8f5700
xen: credit2: always mark a tickled pCPU as... tickled!

In fact, whether or not a pCPU has been tickled, and is
therefore about to re-schedule, is something we look at
and base decisions on in various places.

So, let's make sure that we do that basing on accurate
information.

While there, also tweak a little bit smt_idle_mask_clear()
(used for implementing SMT support), so that it only alter
the relevant cpumask when there is the actual need for this.
(This is only for reduced overhead, behavior remains the
same).

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Reviewed-by: George Dunlap <george.dunlap@eu.citrix.com>
master commit: a76645240bd14e964e85dbc975a8989edea6aa27
master date: 2017-03-01 16:56:34 +0000
xen/common/sched_credit2.c